package mx.com.theboard.client.controllers;

import java.util.Iterator;
import java.util.Set;

import mx.com.theboard.shared.entidades.*;

public class PizarronController {
	private Pizarron pizarron;
	
	public PizarronController(Pizarron pizarron){
		this.pizarron = pizarron;
	}
	
	public void loadNotas(){
		Set<Nota> notas = pizarron.getNotas();
		if(notas != null && notas.size()>0){
			Iterator<Nota> notasi = notas.iterator();
			while(notasi.hasNext()){
				NotaController nc = new NotaController(notasi.next());
				nc.mostrar();
			}
		}
	}
	
	
	
	

}
